package org.dalmatian.app.system.runner;


import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.dalmatian.app.system.service.ISysOssConfigService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Init;


/**
 * @author zc
 */
@Component
@RequiredArgsConstructor
@Slf4j
public class OssConfigRunner {

    private final ISysOssConfigService ossConfigService;

    @Init
    public void run() throws Exception {
        ossConfigService.init();
        log.info("初始化OSS配置成功");
    }

}
